<?php
require('lib/verify.php');
require('lib/has_char.php');
require('lib/is_approved.php');
require('lib/is_admin.php');

$_category = "warmath";
$_title = "Admin / Remove Signupee";

$raid_id = $_GET["rid"];
$character_id = $_GET["id"];
$system_id = $system["system_id"];

$sql = "delete from wm_scheduled_signups where scheduled_signup_system_id = $system_id and scheduled_signup_character = $character_id and scheduled_signup_raid = $raid_id";
$result = $db->query($sql);

//reprocessDKP($db, $system["system_id"]);

header("Location: signup.php?id=$raid_id");
?>

